import java.util.Scanner;
//简写单词：大写转化和取首字母
public class code1 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String ss = sc.nextLine();
        String[] str = ss.split(" ");
        for (int i = 0; i < str.length; i++) {
            String s = str[i].toUpperCase();
            System.out.print(s.charAt(0));
        }
    }
}
